home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 95 / MOBICLIC 95.ISO / mac / MWB_DATA / TCH095 / TCH095_00 / TCH095_00.swf / scripts / DefineSprite_87 / frame_1 / PlaceObject2_86_1 / CLIPACTIONRECORD on(rollOver).as < prev    next >
Text File  |  2007-06-28  |  1KB  |  44 lines

  1. on(rollOver){
  2.    if(_root.gAllowFlags)
  3.    {
  4.       if(_parent._parent._name != _root.gLangue)
  5.       {
  6.          this.useHandCursor = 1;
  7.          if(_root.gOnDir == 1)
  8.          {
  9.             getURL("6",280);
  10.          }
  11.          _parent._parent.gotoAndStop(2);
  12.          switch(_parent._parent._name)
  13.          {
  14.             case "AN":
  15.                langue = _root.gTextLangue[0];
  16.                sonLangue = "AN_TCH095_Z01_01.mp3";
  17.                break;
  18.             case "AL":
  19.                langue = _root.gTextLangue[1];
  20.                sonLangue = "AL_TCH095_Z01_01.mp3";
  21.                break;
  22.             case "ES":
  23.                langue = _root.gTextLangue[2];
  24.                sonLangue = "ES_TCH095_Z01_01.mp3";
  25.          }
  26.          _root.IB.IB.afficherLangue("IB00",_parent._parent._x,_parent._parent._y,langue);
  27.          if(_root.gOnIntroSon != 1)
  28.          {
  29.             my_sound = new Sound();
  30.             my_sound.attachSound(sonLangue);
  31.             my_sound.start();
  32.          }
  33.       }
  34.       else
  35.       {
  36.          this.useHandCursor = 0;
  37.       }
  38.    }
  39.    else
  40.    {
  41.       this.useHandCursor = 0;
  42.    }
  43. }
  44.